//
//  LGetCodeView.h
//  LovingPartyBuilding
//
//  Created by 刘应平 on 17/5/4.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIButton+countDown.h"

@class LGetCodeView;
@protocol GetCodeDelegate <NSObject>

- (void)LGetCodeWith:(LGetCodeView *)view click:(BOOL)click;

@end
@interface LGetCodeView : UIView<UITextFieldDelegate>
/**  输入框  */
@property (strong, nonatomic) UITextField  *codeTextField;
/**  验证码  */
@property (strong, nonatomic) UIButton  *codeButton;

/**  代理  */
@property (weak, nonatomic) id<GetCodeDelegate>  delegate;
/**  最大长度  */
@property (assign, nonatomic) NSInteger  maxNumber;


@end
